<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <script src="jquery-3.3.1.js"></script>
 </head>
 <body>
    <button id="btn">按钮</button>
 </body>
 <script>
     //jQuery绑定点击事件的方式click()
     $("#btn").click(function(){
	     console.log($(this).text());
	 });


 </script>
</html>
